package com.csun.cmny.provider.service;

import com.csun.cmny.base.dto.LoginAuthDto;
import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.DmcRoomAlertSilentTime;
import com.csun.cmny.provider.model.dto.life.RoomAlertStatusDto;
import com.csun.cmny.provider.model.vo.life.RoomAlertTimeVO;

public interface DmcRoomAlertSilentTimeService extends IService<DmcRoomAlertSilentTime> {

    /**
     * 获取当前房屋报警状态
     * @date 2020/1/17 13:46
     * @param roomId
     * @return com.csun.cmny.provider.service.DmcRoomAlertSilentTimeService
     */
    RoomAlertTimeVO getRoomAlertStatus(Long roomId);

    /**
     * 设置房间报警状态
     * @date 2020/1/17 14:03
     * @param dto, loginAuthDto
     * @return com.csun.cmny.provider.service.DmcRoomAlertSilentTimeService
     */
    Integer setgetRoomAlertStatus(RoomAlertStatusDto dto, LoginAuthDto loginAuthDto);

    /**
     * 解除房间报警屏蔽
     * @date 2020/1/17 14:34
     * @param roomId, loginAuthDto
     * @return com.csun.cmny.provider.service.DmcRoomAlertSilentTimeService
     */
    Integer deleteRoomAlertStatus(Long roomId, LoginAuthDto loginAuthDto);

    /**
     * 房间屏蔽时间设置
     * @date 2020/1/17 14:52
     * @param dto, loginAuthDto
     * @return com.csun.cmny.provider.service.DmcRoomAlertSilentTimeService
     */
    Integer setRoomSilentTime(RoomAlertStatusDto dto, LoginAuthDto loginAuthDto);
}
